import request from '@/utils/request.js';

export function login(data) {
  return request('/account/login', {
    method: 'POST',
    data,
  });
}

export function logout() {
  return request('/account/logout');
}
